1
namespace CSWinFormPassValueBetweenForms
6 /// Required designer variable.
8 private System
.ComponentModel
.IContainer components
= null;
11 /// Clean up any resources being used.
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing
)
16 if (disposing
&& (components
!= null))
20 base.Dispose(disposing
);
23 #region Windows Form Designer generated code
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
29 private void InitializeComponent()
31 this.groupBox1
= new System
.Windows
.Forms
.GroupBox();
32 this.lbDisplay
= new System
.Windows
.Forms
.Label();
33 this.label2
= new System
.Windows
.Forms
.Label();
34 this.label1
= new System
.Windows
.Forms
.Label();
35 this.groupBox1
.SuspendLayout();
40 this.groupBox1
.Controls
.Add(this.lbDisplay
);
41 this.groupBox1
.Controls
.Add(this.label2
);
42 this.groupBox1
.Controls
.Add(this.label1
);
43 this.groupBox1
.Font
= new System
.Drawing
.Font("Verdana", 9.75F
, System
.Drawing
.FontStyle
.Regular
, System
.Drawing
.GraphicsUnit
.Point
, ((byte)(0)));
44 this.groupBox1
.Location
= new System
.Drawing
.Point(12, 12);
45 this.groupBox1
.Name
= "groupBox1";
46 this.groupBox1
.Size
= new System
.Drawing
.Size(525, 295);
47 this.groupBox1
.TabIndex
= 12;
48 this.groupBox1
.TabStop
= false;
49 this.groupBox1
.Text
= "Pass value between forms";
53 this.lbDisplay
.AutoSize
= true;
54 this.lbDisplay
.ForeColor
= System
.Drawing
.Color
.Red
;
55 this.lbDisplay
.Location
= new System
.Drawing
.Point(32, 116);
56 this.lbDisplay
.Name
= "lbDisplay";
57 this.lbDisplay
.Size
= new System
.Drawing
.Size(0, 16);
58 this.lbDisplay
.TabIndex
= 2;
62 this.label2
.AutoSize
= true;
63 this.label2
.Location
= new System
.Drawing
.Point(31, 78);
64 this.label2
.Name
= "label2";
65 this.label2
.Size
= new System
.Drawing
.Size(221, 16);
66 this.label2
.TabIndex
= 1;
67 this.label2
.Text
= "The value passed from form1 is:";
71 this.label1
.Font
= new System
.Drawing
.Font("Verdana", 9.75F
, System
.Drawing
.FontStyle
.Regular
, System
.Drawing
.GraphicsUnit
.Point
, ((byte)(0)));
72 this.label1
.Location
= new System
.Drawing
.Point(31, 31);
73 this.label1
.Name
= "label1";
74 this.label1
.Size
= new System
.Drawing
.Size(460, 36);
75 this.label1
.TabIndex
= 0;
76 this.label1
.Text
= "This example demonstrates how to pass value between forms.";
80 this.AutoScaleDimensions
= new System
.Drawing
.SizeF(6F
, 13F
);
81 this.AutoScaleMode
= System
.Windows
.Forms
.AutoScaleMode
.Font
;
82 this.ClientSize
= new System
.Drawing
.Size(549, 325);
83 this.Controls
.Add(this.groupBox1
);
86 this.groupBox1
.ResumeLayout(false);
87 this.groupBox1
.PerformLayout();
88 this.ResumeLayout(false);
94 private System
.Windows
.Forms
.GroupBox groupBox1
;
95 private System
.Windows
.Forms
.Label label2
;
96 private System
.Windows
.Forms
.Label label1
;
97 private System
.Windows
.Forms
.Label lbDisplay
;